﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manager/page/ManagerMasterPage.Master" AutoEventWireup="true" CodeBehind="board.aspx.cs" Inherits="Com.Web.coffinegurunaru.manager.board.board" %>
<%@ Register TagPrefix="UC" TagName="BoardMenu" Src="~/manager/board/boardmenu.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phHead" runat="server">
<script language="javascript" type="text/javascript" src="/js/pager.js"></script>
<script language="javascript" type="text/javascript" src="/js/tagdata.js"></script>
<script language="javascript" type="text/javascript" src="/js/ajaxnet.js"></script>
<script language="javascript" type="text/javascript" src="/manager/board/board.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
	$("div.pager").pager({
		pageSize : 20,
		useCallback : true,
		pageNo : 1,
		callback:function(pageNo) {
			$.Board.getList();
		}
	});
	$.Board.getList();
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="phContent" runat="server">
<hr />
<br />
<table>
<tr>
	<td valign="top">
        <UC:BoardMenu id="boardMenu" runat="server" />
	</td>
	<td style="width:20px;"></td>
	<td  valign="top">
        <table width="100%">
        <tr>
            <td align="left" valign="top">
				<button class="addFormButton" onclick="$.Board.showInputForm(); return false;">추가</button>
				<div style="width:400px; display:none;" class="inputForm">
                <table width="100%" cellpadding="0" cellspacing="1" border="0" style="background-color:Olive">
                <tr style="height:30px;">
                    <th style="width:100px; text-align:center; background-color:#eeeeee;">보드번호</th>
                    <td style="background-color:#ffffff;"><input type="text" class="boardSN" style="width:300px"/></td>
				</tr>
				<tr>
                    <th style="width:100px; text-align:center; background-color:#eeeeee;">이름</th>
                    <td style="background-color:#ffffff;"><input type="text" class="boardName" style="width:300px"/></td>
				</tr>
				<tr>
                    <th style="width:100px; text-align:center; background-color:#eeeeee;">추가데이터<br />이름</th>
                    <td class="boardJsonDataArea" style="background-color:#ffffff;">
                    <a href="#" onclick="$.Board.AddJsonDataForm(); return false;">[추가]</a><br/>
                    </td>
				</tr>
				<tr>
					<td colspan="2" style="background-color:#ffffff;">
						<button class="submit" onclick="$.Board.submitInputForm(); return false;">완료</button>
						<button class="button" onclick="$.Board.cancelInputForm(); return false;">최소</button>
					</td>
				</tr>
                </table>
				</div>
				<br />				
                <table class="managerList" width="800"  cellpadding="0" cellspacing="1" border="0" style="background-color:Olive">
                <thead>
                <tr style="height:30px; background-color:#eeeeee">
                    <td style="width:100px; text-align:center">SN</td>
                    <td style="width:100px; text-align:center">이름</td>
                    <td style="width:100px; text-align:center">추가데이터</td>
                    <td style="width:100px; text-align:center">생성일</td>
                    <td style="width:100px; text-align:center">수정일</td>
                    <td style="width:100px; text-align:center">관리</td>
                </tr>
                </thead>
                <tbody>
                </tbody>
                </table>
                <div class="pager"></div>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</asp:Content>
